Stuck with comparison arrays with objects which has IDs